package com.wf.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wf.domain.Role;
import com.wf.mapper.RoleMapper;
import com.wf.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author mpk16
* @description 针对表【role】的数据库操作Service实现
* @createDate 2024-08-03 13:39:49
*/
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{
    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<Role> selectRole(Integer role_id) {
        return roleMapper.selectRole(role_id);
    }
}




